import requests
import json

url = "http://192.168.0.137:80/xlm-gateway-fgahde/sfm-api-gateway/gateway/compatible-mode/v1/chat/completions"

payload = json.dumps({
  "model": "deepseek-r1-bf16-doymrvvi",
  "messages": [
    {
      "role": "user",
      "content": "你是谁"
    }
  ],
  "stream": True
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': 'Bearer FV7cqGqL5uxqTGQzy3A7rb6qKoQp6uzq'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)